package com.mzpai.product.model;

import java.util.Date;

import com.mzpai.model.BaseModel;

import io.swagger.annotations.ApiModelProperty;

public class ContractTemplate extends BaseModel{
	private static final long serialVersionUID = 1L;
	@ApiModelProperty(value="主键ID")
	private Integer id;
	@ApiModelProperty(value="1:协议 2:合同")
    private String templateType;
	@ApiModelProperty(value="使用类型  1:店铺 2:用户端(小程序或APP)")
    private Byte cooperateType;
	@ApiModelProperty(value="模板状态 1 有效  2失效")
    private Byte templateStatus;
	@ApiModelProperty(value="模板编号")
    private String templateNum;
	@ApiModelProperty(value="模板url")
    private String templateUrl;
	@ApiModelProperty(value="文件名字")
    private String templateName;
	@ApiModelProperty(value="创建时间")
    private Date credateTime;
	@ApiModelProperty(value="更新时间")
    private Date updateTime;
	@ApiModelProperty(value="创建人")
    private String createUser;
	@ApiModelProperty(value="更新人")
    private String updateUser;
	@ApiModelProperty(value="更新人id")
    private String updateUserId;
	@ApiModelProperty(value="创建人id")
    private String createUserId;
	@ApiModelProperty(value="排序字段")
    private Integer sortNum;
	  
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTemplateType() {
        return templateType;
    }

    public void setTemplateType(String templateType) {
        this.templateType = templateType == null ? null : templateType.trim();
    }

    public Byte getCooperateType() {
        return cooperateType;
    }

    public void setCooperateType(Byte cooperateType) {
        this.cooperateType = cooperateType;
    }

    public Byte getTemplateStatus() {
        return templateStatus;
    }

    public void setTemplateStatus(Byte templateStatus) {
        this.templateStatus = templateStatus;
    }

    public String getTemplateNum() {
        return templateNum;
    }

    public void setTemplateNum(String templateNum) {
        this.templateNum = templateNum == null ? null : templateNum.trim();
    }

    public String getTemplateUrl() {
        return templateUrl;
    }

    public void setTemplateUrl(String templateUrl) {
        this.templateUrl = templateUrl == null ? null : templateUrl.trim();
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName == null ? null : templateName.trim();
    }

    public Date getCredateTime() {
        return credateTime;
    }

    public void setCredateTime(Date credateTime) {
        this.credateTime = credateTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser == null ? null : updateUser.trim();
    }

    public String getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(String updateUserId) {
        this.updateUserId = updateUserId == null ? null : updateUserId.trim();
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId == null ? null : createUserId.trim();
    }

    public Integer getSortNum() {
        return sortNum;
    }

    public void setSortNum(Integer sortNum) {
        this.sortNum = sortNum;
    }
}